package spring.cloud.tasks.api.utils;

public class PermissionKeys {

    public static final String jobEnable = "job:enable";
    public static final String jobBatchEnable = "job:batchEnable";
    public static final String jobDisable = "job:disable";
    public static final String jobBatchDisable = "job:batchDisable";
    public static final String jobRunAtOnce = "job:runAtOnce";
    public static final String jobBatchRunAtOnce = "job:batchRunAtOnce";
    public static final String jobStopAtOnce = "job:stopAtOnce";
    public static final String jobRemove = "job:remove";
    public static final String jobBatchRemove = "job:batchRemove";
    public static final String jobAdd = "job:add";
    public static final String jobCopy = "job:copy";
    public static final String jobImport = "job:import";
    public static final String jobExport = "job:export";
    public static final String jobUpdate = "job:update";
    public static final String jobBatchSetPreferExecutors = "job:batchSetPreferExecutors";

    public static final String executorRestart = "executor:restart";
    public static final String executorDump = "executor:dump";
    public static final String executorExtractOrRecoverTraffic = "executor:extractOrRecoverTraffic";
    public static final String executorBatchExtractOrRecoverTraffic = "executor:batchExtractOrRecoverTraffic";
    public static final String executorRemove = "executor:remove";
    public static final String executorBatchRemove = "executor:batchRemove";
    public static final String executorShardAllAtOnce = "executor:shardAllAtOnce";

    public static final String alarmCenterSetAbnormalJobRead = "alarmCenter:setAbnormalJobRead";
    public static final String alarmCenterSetTimeout4AlarmJobRead = "alarmCenter:setTimeout4AlarmJobRead";

    public static final String dashboardCleanShardingCount = "dashboard:cleanShardingCount";
    public static final String dashboardCleanOneJobAnalyse = "dashboard:cleanOneJobAnalyse";
    public static final String dashboardCleanAllJobAnalyse = "dashboard:cleanAllJobAnalyse";
    public static final String dashboardCleanOneJobExecutorCount = "dashboard:cleanOneJobExecutorCount";

    public static final String registryCenterAddnameSpace = "registryCenter:addnameSpace";
    public static final String registryCenterBatchMovenameSpaces = "registryCenter:batchMovenameSpaces";
    public static final String registryCenterExportnameSpaces = "registryCenter:exportnameSpaces";
    public static final String registryCenterAddZkCluster = "registryCenter:addZkCluster";
    public static final String registryCenterRemoveZkCluster = "registryCenter:removeZkCluster";

    public static final String systemConfig = "systemConfig";

    public static final String authorizationManage = "authorizationManage";

}
